﻿cls
Write-Host '*********************************' -ForegroundColor Red
Write-Host '***                           ***' -ForegroundColor Red
Write-Host '***  Convert vmdk to vhd      ***' -ForegroundColor Red
Write-Host '***                           ***' -ForegroundColor Red
Write-Host '*********************************' -ForegroundColor Red

Write-Host ''
Write-Host ''

$SourceOrigen = Read-Host 'Seleccione el Archivo VMDK Origen';
$SourceDestino = Read-Host 'Seleccione la Ubicacion Destino incluyendo file.vhd';

Write-Host ''
Write-Host ''

cd\
cd "C:\Program Files (x86)\Microsoft Virtual Machine Converter Solution Accelerator"

.\MVDC.exe $SourceOrigen $SourceDestino